package com.cli.springboot_stater.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author mir.xiong
 * @version 1.0
 * @description
 * @see
 * @since Created by work on 2022/4/23 23:21
 */
@ConfigurationProperties(prefix = "hello")
public class HelloProperties {

    private String msg = "Hello World";

    public HelloProperties() {
    }

    public HelloProperties(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
